summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-12-04 11:51:39 +0900
committerjoonhoekim <26rote@gmail.com>2025-12-04 11:51:39 +0900
commit04c667f1a3a2ed8daf84a04a593f1c9ffc36f267 (patch)
tree10a2dedc43b910d1d643bd6fd12fe2b976cb94f7 /app/[lng]/evcp/(evcp)
parentc26d78eabf13498c9817885b54512593c6a33f8d (diff)
(김준회) i18n 적용 오류 수정
Diffstat (limited to 'app/[lng]/evcp/(evcp)')
-rw-r--r--app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx5
-rw-r--r--app/[lng]/evcp/(evcp)/edp-progress/page.tsx4
2 files changed, 5 insertions, 4 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
index e7109dcb..799c3b5a 100644
--- a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
@@ -13,13 +13,14 @@ import { InformationButton } from "@/components/information/information-button"
import { useTranslation } from "@/i18n"
interface IndexPageProps {
searchParams: Promise<SearchParams>
+ params: Promise<{ lng: string }>
}
export default async function IndexPage(props: IndexPageProps) {
const searchParams = await props.searchParams
const search = searchParamsInvestigationCache.parse(searchParams)
- const {lng} = await props.params
- const {t} = await useTranslation(lng, 'menu')
+ const { lng } = await props.params
+ const { t } = await useTranslation(lng, 'menu')
const validFilters = getValidFilters(search.filters)
diff --git a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx
index 9464c037..b205dd77 100644
--- a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx
+++ b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx
@@ -10,8 +10,8 @@ interface edpProgressPageProps {
params: Promise<{ lng: string }>
}
-export default async function IndexPage({ params: edpProgressPageProps }) {
- const { lng } = await params
+export default async function IndexPage(props: edpProgressPageProps) {
+ const { lng } = await props.params
const { t } = await useTranslation(lng, 'menu')
return (